const isWeChat = process.env.UNI_PLATFORM === 'wechat' || process.env.UNI_PLATFORM === 'mp-weixin';
let appId;
let appName;
if(isWeChat){
	appId = "wx585d28889e76d342";
	appName = "洛克剧院";
}else{
	appId = "wx585d28889e76d342";
	// appId = "h5_01";
	appName = "洛克剧院";
}
const getRandomString = function(length) {
	var result = '';
	var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
	var charactersLength = characters.length;

	for (var i = 0; i < length; i++) {
	    result += characters.charAt(Math.floor(Math.random() * charactersLength));
	}
	return result;
};
export default {appId,appName,isWeChat,getRandomString}
